<?php

use Illuminate\Database\Seeder;

class PrductsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
         $data=[
          "productname"=>"连衣裙",
          "typename"=>"群子",
          "price"=>"2.1",
          "comp"=>"非洲",
          "intro"=>"好康的群子"
        ];
         

        DB::table('products')->insert($data);
    }
    
}
